<template>
  <zz-dialog
    title='无环境监测的项目（共11个项目）'
    @close="close"
    :showConfirm = false
    :showFoot = "false"
    :visible=visible>
    <div style="width: 800px; height: 300px">
      <zz-table 
        :title="projectList" 
        :noPadding = true 
        style="margin: 0"
        :dataList = "detailDataList"></zz-table>

      <div class="clear" style="margin-top: 20px">
        <button class="button-block left">导出Excel</button>
        <zz-paginate class="right" @query="query" :padding="[0, 0, 0, 0]"></zz-paginate>
      </div>
    </div>
  </zz-dialog>
</template>

<script>

  export default {
    name: "edit_Upload",
    data() {
      return {
        projectList: [
          {name: '序号'},
          {name: '项目名称'},
          {name: '区域'},
          {name: '项目负责人'},
          {name: '上线智慧工地时间'},
        ]
      }
    },
    props: {
      visible: {
        type: Boolean,
        default: false
      },
      detailDataList: {
        type: Array,
        default: function () {
          return []
        }
      }
    },
    mounted () {
    },
    methods: {
      // 按页查找
      query () {
      },
      close () {
        this.$emit('close')
      }
    }
  }
</script>

